package com.thinta.wind.ui.detail

import androidx.lifecycle.ViewModelProvider
import com.thinta.wind.R
import com.thinta.wind.base.BaseActivity
import com.thinta.wind.databinding.ActivityDetailBinding
import com.thinta.wind.ui.detail.repository.DetailModelFactory
import com.thinta.wind.ui.detail.repository.DetailRepository
import com.thinta.wind.ui.detail.viewmodel.DetailViewModel

class DetailActivity : BaseActivity<DetailViewModel, ActivityDetailBinding>() {

    override fun getModelFactory(): ViewModelProvider.NewInstanceFactory = DetailModelFactory(
        DetailRepository()
    )

    override fun viewModelClass(): Class<DetailViewModel> = DetailViewModel::class.java

    override fun startListenerData() {

    }


    override fun initView() {

    }

    override fun getLayoutRes(): Int = R.layout.activity_detail
}
